package utils;

public class Pair<T,P> {
	private T first;
	private P second;
	
	public Pair() {
		//
	}
	
	public Pair(T first, P second) {
		this.first = first;
		this.second = second;
	}
	
	public void set(T first, P second) {
		this.first = first;
		this.second = second;
	}
	
	public T first() {
		return first;
	}
	
	public P second() {
		return second;
	}
	
	public String toString() {
		return "[" + first + " " + second + "]";
	}

}
